window.onload = function(){
    var mySwiper = new Swiper('.swiper-container',{
        pagination: '.pagination',
        loop:true,
        autoplay:3000,
        paginationClickable: true,
        onSlideChangeStart: function(){
            //回调函数
        }
    });
    cTab("#tab1","#con1");
    cTab("#tab2","#con2");
};